<?php
/*=======================================================================
 Nuke-Evolution Basic: Enhanced PHP-Nuke Web Portal System
 =======================================================================*/

if (!defined('ADMIN_FILE')) {
   die('Access Denied');
}
$module_name = basename(dirname(dirname(__FILE__)));
define('NUKE_BASE_MODULES', preg_replace('/modules/i', '', dirname(dirname(dirname(__FILE__)))));
require_once(NUKE_BASE_MODULES.'mainfile.php');
get_lang($module_name);


global $prefix, $db, $admdata;
if(is_mod_admin($module_name)) {


switch ($op) {
		case "Upload":include(NUKE_MODULES_DIR.$module_name.'/admin/UploadGeneral.php');break;
		case "Upload_Main":include(NUKE_MODULES_DIR.$module_name.'/admin/UploadMain.php');break;
		case "Uploadimage":include(NUKE_MODULES_DIR.$module_name.'/admin/Uploadimage.php');break;
		case "Uploadimagesettings":include(NUKE_MODULES_DIR.$module_name.'/admin/Uploadimagesettings.php');break;
		case "Uploadimagesettings_save":include(NUKE_MODULES_DIR.$module_name.'/admin/Uploadimagesettings_save.php');break;
		case "Uploadusers":include(NUKE_MODULES_DIR.$module_name.'/admin/Uploadusers.php');break;
		case "Uploaduserdetail":include(NUKE_MODULES_DIR.$module_name.'/admin/Uploaduserdetail.php');break;
		case "Uploaduserdetail_delete":include(NUKE_MODULES_DIR.$module_name.'/admin/Uploaduserdetail_delete.php');break;
		case "Uploaduserdetail_delete_c":include(NUKE_MODULES_DIR.$module_name.'/admin/Uploaduserdetail_delete_c.php');break;
		case "Uploaduserdetail_delete_all":include(NUKE_MODULES_DIR.$module_name.'/admin/Uploaduserdetail_delete_all.php');break;
		case "Uploaduserdetail_delete_all_c":include(NUKE_MODULES_DIR.$module_name.'/admin/Uploaduserdetail_delete_all_c.php');break;
		case "Uploadusergroups":include(NUKE_MODULES_DIR.$module_name.'/admin/Uploadusergroups.php');break;
		case "Uploadusergroups_save":include(NUKE_MODULES_DIR.$module_name.'/admin/Uploadusergroups_save.php');break;
	}// end of $op switch case

}// end of If-lus -> if (is_mod_admin($module_name))
else{
    DisplayError("<strong>"._ERROR."</strong><br /><br />You do not have administration permission for module \"$module_name\"");
    die();
}// end of else-lus 
?>